﻿
// <copyright file="IMetricsEnabledRequestHandler.cs" company="Subhadra Software Solutions">
//   
// </copyright>
// <summary>
//   The MetricsEnabledRequestHandler interface.
// </summary>

namespace SubhadraSolutions.Sharp.Utils.RequestProcessing
{
    /// <summary>
    /// The MetricsEnabledRequestHandler interface.
    /// </summary>
    /// <typeparam name="TRequest">
    /// The type of the request.
    /// </typeparam>
    public interface IMetricsEnabledRequestHandler<in TRequest> : IRequestHandler<TRequest>
        where TRequest : IRequest
    {
        #region Public Methods and Operators

        /// <summary>
        ///     The get metrics.
        /// </summary>
        /// <returns>
        ///     The <see cref="RequestHandlerMetrics" />.
        /// </returns>
        RequestHandlerMetrics GetMetrics();

        #endregion Public Methods and Operators
    }
}